home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / dtype / cdt_39_10.lha / cdt / test / test.c
Text File  |  1995-04-28  |  926b  |  56 lines

  1. /*
  2. ** $PROJECT: c.datatype
  3. **
  4. ** $VER: test.c 39.1 (28.04.95)
  5. **
  6. ** by
  7. **
  8. ** Stefan Ruppert , Windthorststraße 5 , 65439 Flörsheim , GERMANY
  9. **
  10. ** (C) Copyright 1995
  11. ** All Rights Reserved !
  12. **
  13. ** $HISTORY:
  14. **
  15. ** 28.04.95 : 039.001 : initial
  16. */
  17.  
  18. /* This file contains parts, which produced parse errors in version 39.6 and
  19.  * before.
  20.  */
  21.  
  22. /* if comment was mark as TEXT (c.prefs), the comment line wasn't wrapped
  23.  *
  24.  * Reported from Swen Stullich
  25.  */
  26.  
  27. void test(void)
  28. {
  29.     int a;
  30. // int b;
  31.     int c;
  32.  
  33.     return;
  34. }
  35.  
  36. /* a backslash at the end of a line in a string to continue the string wasn't
  37.  * handled correctly !
  38.  *
  39.  * Reported from Klaus A Seistrup.
  40.  */
  41.  
  42. static char string[] = "\
  43. This is a test\n\
  44. Ok\n";
  45.  
  46. /* a backslash at the end of a line wasn't handled correctly
  47.  *
  48.  * Reported from Jens Toivo Berger Thielemann
  49.  */
  50.  
  51.  
  52. static char string[] = "This is a second test\n" \
  53.                               "with two three lines\n" \
  54.                               "Ok\n";
  55.  
  56.